package com.mlnx.netty.base.handler;

import com.mlnx.common.utils.MyLog;
import com.mlnx.device.service.DeviceNettyService;
import com.mlnx.device.session.SessionManagerFactory;
import com.mlnx.device.session.manager.MutilDeviceSessionManager;
import com.mlnx.netty.base.service.DeviceServiceManager;
import com.mlnx.stream.service.DeviceBroadcastService;

import io.netty.channel.SimpleChannelInboundHandler;

/**
 * Created by amanda.shan on 2019/10/11.
 */
public abstract class BaseSimpleChannelInboundHandler<I> extends SimpleChannelInboundHandler<I> {

    protected MyLog log = MyLog.getLog(getClass());

    protected MutilDeviceSessionManager sessionManager = SessionManagerFactory.getInstance().getMutilDeviceSessionManager();

    protected DeviceNettyService deviceNettyService = DeviceServiceManager.getInstance().getDeviceNettyService();

    protected DeviceBroadcastService deviceBroadcastService =
            DeviceServiceManager.getInstance().getDeviceBroadcastService();


}
